package ls;

public class L04 {

	public static void main(String[] args) {
		int a []= {1,12,5,17,9};
		int b []= new int [5];
		LJC(a,b);
	}
	public static int[] LJC(int a[],int b[]) {
		b= new int [5];
		int c=b.length-1;
		for (int i = 0; i < b.length; i++) {
			b[i]=a[c];
			c=c-1;
		}
		for (int i = 0; i < b.length; i++) {
			System.out.print(b[i]+"  ");
		}
		return b;
	}
}
